
//
//  JPWeiboCommon.swift
//  SwiftWeibo
//
//  Created by tztddong on 2016/11/24.
//  Copyright © 2016年 dongjiangpeng. All rights reserved.
//

import Foundation

//MARK: 全部可以使用
/// 用户需要登录的通知名
let JPUserShouldLoginNotification = "JPUserShouldLoginNotification"
/// 用户登陆成功的通知名
let JPUserLoginSuccessNotification = "JPUserLoginSuccessNotification"

//MARK: 授权需要信息
//应用的ID
let SinaClient_id     = "134772235"
//回调地址--登录完成跳转的url
let SinaRedirect_uri  = "https://www.baidu.com"
//加密信息--开发者可以申请修改
let SinaAppSecret     = "016c705fab21e8f51447e9fd808e7c91"

//MARK: 文档存储地址
//授权信息地址
let userAccountPath: String? = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).last?.appending("/userAccount.json")
//访客信息地址
let weiboMainPath: String? = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).last?.appending("/weibomain.json")
//当前版本号保存地址
let currentVersionPath: String? = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).last?.appending("/currentVersionPath")

